package com.wlj.cloud;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

@EnableEurekaServer
@SpringBootApplication
public class CloudApplication {
    private static final Logger logger = LoggerFactory.getLogger(CloudApplication.class);
    public static void main(String[] args) {
        SpringApplication.run(CloudApplication.class, args);
        logger.info("================server start up success!=====================");
        logger.info("================ http://localhost:8781 ====================");
    }

}
